package com.lock.chess.dto;

import cn.hutool.json.JSONObject;
import lombok.Data;

@Data
public class GameMoveAction {
    //            type: MessageEnum.MOVE,
    //            targetNodePos: {
    //                posX:this.posX,
    //                posY:this.posY
    //            },
    //            targetPieceName: this.targetNode.name,
    //            fromUserCode: this.gameManager.fromUserCode,
    //            toUserCode: this.gameManager.toUserCode
    private JSONObject targetNodePos;
    private String targetPieceName;
    private String fromUserCode;
    private String toUserCode;
    private String type;
    private String roomId;
}
